package com.SmartCare.pojo.role;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 用户老人关系表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserRelationship implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 检测的唯一标识符
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 家属编号
     */
    private Long familyMemberId;


    /**
     * 老人编号
     */
    private Long elderlyId;


    /**
     * 关系
     */
    private String relationship;

    /**
     * 绑定状态
     */
    private Integer status;


}
